package treemodel.line;

import document.Context;
import treeview.NodeView;
import treeview.container.wrapped.MarkedLineView;

/**
 * Created by Pavel Nikolaev
 */
public final class MarkedLine extends WrappedLine {
    private int myMark;

    public MarkedLine(int mark) {
        this.myMark = mark;
    }

    @Override
    public NodeView createView(Context context) {
        return new MarkedLineView(myUnits, myMark, context);
    }
}
